import React from 'react'

export default function UserTitle(props) {
    return (
        <div className='user-title' style={{ marginBottom: 10, textAlign: 'center' }}>
            (客户【{props.name || '张某某'}】{props.type})
            {props.isSubmit && <span style={{
                float: 'right',
                color: '#FF6600',
                fontWeight: 700,
                fontStyle: 'normal',
                marginRight: 50,
            }}>提交审批</span>}
        </div>
    )
}
